package com.kxc.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.alibaba.fastjson.annotation.JSONField;


/**
 * 测点历史数据
 */
@Entity(name = "hisdata")
public class HisData extends BaseEntity{

	@Column(name="point_num", nullable = false)
    private String pointNum;
    /**所属监测项  */
	@Column
    private String moniItem;
	@Column
    private String data;
	@Column
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Date collectTime;
	@JSONField(format="yyyy-MM-dd HH:mm:ss")

	@Column
    private Date uploadTime;
 
	public HisData(String pointNum, String moniItem, String data, Date collectTime, Date uploadTime) {
		super();
		this.pointNum = pointNum;
		this.moniItem = moniItem;
		this.data = data;
		this.collectTime = collectTime;
		this.uploadTime = uploadTime;
	}
	public HisData() {
		super();
	}
	public String getPointNum() {
		return pointNum;
	}
	public void setPointNum(String pointNum) {
		this.pointNum = pointNum;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
	public Date getCollectTime() {
		return collectTime;
	}
	public void setCollectTime(Date collectTime) {
		this.collectTime = collectTime;
	}
	public Date getUploadTime() {
		return uploadTime;
	}
	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}
}
